<?php

header("Content-Type: application/json");
include('../../include/functions.inc.php');
$courses = $db->query_toJson("cllg_courses_catalog", NULL, array("CODIGO" => "CODE", "NOMBRE" => "NAME"));

echo $courses;
?>